package cn.iocoder.yudao.module.asset.controller.admin.manager.vo;

import lombok.*;

import java.math.BigDecimal;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 资产管理分页 Request VO")
@Data
public class ManagerPageReqVO extends PageParam {

    @Schema(description = "资产编号")
    private String assetNumber;

    @Schema(description = "条码编号")
    private String barcodeNumber;

    @Schema(description = "资产名称")
    private String title;

    @Schema(description = "资产分类")
    private String assetType;

    @Schema(description = "品牌")
    private String brand;

    @Schema(description = "规格型号")
    private String specificationModel;

    @Schema(description = "数量")
    private Integer number;

    @Schema(description = "计量单位")
    private String unitOfMeasurement;

    @Schema(description = "资产原值")
    private BigDecimal originalValue;

    @Schema(description = "取得时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] obtainTime;

    @Schema(description = "管理部门")
    private Integer managementDept;

    @Schema(description = "管理人")
    private Integer managementUser;

    @Schema(description = "使用部门")
    private Integer useDept;

    @Schema(description = "使用人")
    private Integer useUser;

    @Schema(description = "存放地点")
    private String storageLocation;

    @Schema(description = "业务状态")
    private String businessStatus;

    @Schema(description = "成新率")
    private String newnessRate;

    @Schema(description = "财务记账日期")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] financialAccountingTime;

    @Schema(description = "备注", example = "随便")
    private String remark;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}
